package com.mz.mattress.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mz.mattress.api.common.Result;
import com.mz.mattress.api.entity.Activity;

import java.util.Set;

public interface ActivityService {

    Result<IPage<Activity>> listPage(String title, Integer status, Integer pageNo, Integer pageSize);

    Result<Activity> getById(Integer id);

    Result add(Activity banner);

    Result updateById(Activity banner);

    Result deleteByIds(Set<Integer> ids);

}
